export interface CreateOrUpdateCustomsRequestData {
  id?: string | undefined
  name: string
  email: string
  phone: string
  content: string
}

export interface GetCustomsRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
  /** 查询参数：名字 */
  name?: string
  /** 查询参数：邮箱 */
  email?: string
  /** 查询参数：手机号 */
  phone?: string
}

export interface GetCustomsDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetCustomsData {
  id: string
  name: string
  email: string
  phone: string
  content: string
}
export type GetNewResponeseDetailData = ApiResponseData<GetCustomsData>

export type GetCustomsResponseData = ApiResponseData<{
  list: GetCustomsData[]
  total: number
  page: number
}>
